
package com.gw.business.analysis.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.gw.platform.model.BaseModel;
import com.gw.platform.util.DateUtils;

public class UserTrackDataException implements BaseModel{
    
    /**
	 * 
	 */
	private static final long serialVersionUID = 851330837097498133L;

	private int id;
    
    // 用户的唯一标识
    private String userId;
    
    // 时间(yyyy-MM-dd HH:mm:ss)
    private Date dataTime;
    
    // 访问IP
    private String ip;
    
    // 访问URL
    private String url;
    
    private Integer urlCount;
    private String isSend;//是否已经发送一次 0：已经发送 1：未发送
    
    
    /**
     * @return 获取 isSend属性值
     */
    public String getIsSend() {
        return isSend;
    }

    
    /**
     * @param isSend 设置 isSend 属性值为参数值 isSend
     */
    public void setIsSend(String isSend) {
        this.isSend = isSend;
    }

    //异常点击页面数量
    private List<UserTrackDataException>items = new ArrayList<UserTrackDataException>();
    
    public Integer getUrlCount() {
        return urlCount;
    }
    
    public void setUrlCount(Integer urlCount) {
        this.urlCount = urlCount;
    }
    
    public String getFormatDataTime() {
        return DateUtils.formatDateToString(this.dataTime, "yyyy-MM-dd HH:mm");
    }
    
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public String getUserId() {
        return userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    public Date getDataTime() {
        return dataTime;
    }
    
    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }
    
    public String getIp() {
        return ip;
    }
    
    public void setIp(String ip) {
        this.ip = ip;
    }
    
    public String getUrl() {
        return url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }

	public List<UserTrackDataException> getItems() {
		return items;
	}

	public void setItems(List<UserTrackDataException> items) {
		this.items = items;
	}
}
